#include "vic.h"

#include <nxp/iolpc2378.h>

void VIC_assign_interrupt_channels(uint32_t mask) {
    VICINTSELECT = 0;    
}

void VIC_disable_interrupts(uint32_t mask) {
    VICINTENCLEAR = mask;
}

void VIC_clear_softwate_interrupts(uint32_t mask) {
    VICSOFTINTCLEAR = mask;
}

void VIC_disable_protection() {
    VICPROTECTION = 0;
}
